<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text" value="{$row.name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Type')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-type" data-rule="required" class="form-control selectpicker" name="row[type]">
                {foreach name="typeList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.type"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Province')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-province" data-rule="required" class="form-control" name="row[province]" type="text" value="{$row.province|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('City')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class='control-relative'><input id="c-city" data-rule="required" class="form-control" name="row[city]" type="text" value="{$row.city|htmlentities}"></div>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Wechat')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-wechat" data-rule="required" class="form-control selectpicker" name="row[wechat]">
                {foreach name="wechatList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.wechat"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Store')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-store" data-rule="required" class="form-control" name="row[store]" type="text" value="{$row.store|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Code')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-code" data-rule="required" class="form-control" name="row[code]" type="text" value="{$row.code|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Business_account')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-business_account" data-rule="required" class="form-control" name="row[business_account]" type="text" value="{$row.business_account|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Business_password')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-business_password" data-rule="required" class="form-control" name="row[business_password]" type="text" value="{$row.business_password|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Refund_password')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-refund_password" data-rule="required" class="form-control" name="row[refund_password]" type="text" value="{$row.refund_password|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Wechat_account')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-wechat_account" data-rule="required" class="form-control" name="row[wechat_account]" type="text" value="{$row.wechat_account|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Wechat_code')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-wechat_code" data-rule="required" class="form-control" name="row[wechat_code]" type="text" value="{$row.wechat_code|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Async_key')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-async_key" data-rule="required" class="form-control" name="row[async_key]" type="text" value="{$row.async_key|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('No_password')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-no_password" data-rule="required" class="form-control selectpicker" name="row[no_password]">
                {foreach name="noPasswordList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.no_password"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Quota')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-quota" data-rule="required" class="form-control" name="row[quota]" type="text" value="{$row.quota|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Today_quota')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-today_quota" data-rule="required" class="form-control" name="row[today_quota]" type="text" value="{$row.today_quota|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Quota_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-quota_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[quota_time]" type="text" value="{:$row.quota_time?datetime($row.quota_time):''}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
